package cn.bytecollege.service;

import cn.bytecollege.mapper.EvaluationMapper;
import cn.bytecollege.model.Evaluation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

@Service
public class EvaluationService {
    @Autowired
    private EvaluationMapper evaluationMapper;

    public Integer addEvaluation(Evaluation evaluation) {
        return evaluationMapper.insert(evaluation);
    }
}
